package com.mfangsoft.zhuangjialong.integration.newActivity.service;

import java.util.List;
import java.util.Map;

import com.mfangsoft.zhuangjialong.common.model.Page;

public interface INewActivityService {
	void addActivityTemplate(Map<String, Object> map);

	void updateActivityTemplate(Map<String, Object> map);

	void updateActivity(Map<String, Object> map);

	Page<Map<String, Object>> selectActivityTemplate(Page<Map<String, Object>> page);

	Page<Map<String, Object>> selectWeiFaBuPage(Page<Map<String, Object>> page);

	List<Map<String, Object>> selectPublishList(Integer pid);

	Map<String, Object> selectTemplateDetail(Integer p_id);

	Map<String, Object> selectActivityDetail(Integer activity_id);

	/**
	 * 活动列表
	 * 
	 * @param page
	 * @return
	 */
	Page<Map<String, Object>> selectActivityPage(Page<Map<String, Object>> page);

	Page<Map<String, Object>> selectActivityApplyListPage(Page<Map<String, Object>> param);
	
	Map<String,Object> selectActivityStatistics(Integer activity_id);
}
